Part Number Hot Search : 
MD80C88B SN74LS A3988 7C102 LM138K B4010 UFXXDA1 00FLH
Product Description
Full Text Search
 

To Download UM0462 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  october 2007 rev 1 1/14 UM0462 user manual stm32f101xx and stm32f103xx flash loader demonstrator introduction the purpose of this document is to describe the stmicroelectronics stm32f101xx and stm32f103xx flash loade r demonstrator application that was developed to illustrate the system memory bootl oader capabilities. this document details the prerequested hardware and software environments, as well as the use cases of the demonstrator software. www.st.com
contents UM0462 2/14 contents 1 getting started . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 package contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1.1 software contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1.2 hardware contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.2 system requirements . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.3 flash loader demonstrator installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3.1 software installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.3.2 hardware installation . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 2 user interface description . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 3 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 13
UM0462 list of figures 3/14 list of figures figure 1. system properties dialog box . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 figure 2. device manager window. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 figure 3. welcome window . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 figure 4. connection settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 figure 5. device information . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 figure 6. operation choice. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 11 figure 7. operation progress . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12
getting started UM0462 4/14 1 getting started 1.1 package contents the following items are supplied in the flash loader demonstrator package: 1.1.1 software contents 1. stbllib.dll : a dynamic link library implementing the system memory bootloader protocol and the com communication apis. 2. files.dll : a dynamic link library implementing the needed file manipulation apis to load and store binary, hexadecimal and motorola s19 files. 3. stmicroelectronics flash loader.exe: a wizard application that provides the high-level operations that can be performed by the user. 1.1.2 hardware contents this tool is designed to work with all stmicroelectronics devices that support the system memory bootloader protocols. for more details, please visit the stmicroelectronics website (http://www.st.com) and refer to the application note an2606: ?stm32f101xx and stm32f103xx system memory boot mode?. 1.2 system requirements in order to use the flash loader demonstrator with the windows operating system, a recent version of windows, such as windows 98, mille nnium, 2000, xp or vista, must be installed on the pc. the version of the windows os installed on your computer may be determined by right- clicking on the ?my computer? icon on the desktop, then clicking on the ?properties? item in the displayed pop-up menu. the os type is displayed in the ?system properties? dialog box under the ?system? label as shown in figure 1 .
UM0462 getting started 5/14 figure 1. system properties dialog box for the communication, you need to verify that you have an available com port(rs232) as one com port is required for system connection. to check that you have an available communication port, right-click on the ?my computer? icon on the desktop and select ?properties? from the pop-up menu. the ?system properties? dialog box appears. click on the ?hardware? tab, and then on the ?device manager? button to display the system hardware configuration. available com ports are grouped under the ?ports (com & lpt)? node in the hardware tree as shown in figure 2 .
getting started UM0462 6/14 figure 2. device manager window 1.3 flash loader demonstrator installation 1.3.1 software installation run the UM0462.exe file: the installshield wizard will guide you to install flash loader demonstrator application on your computer. when the software is successfully installed, click on the ?finish? button. 1.3.2 hardware installation connect the device to a spare com port on your pc.
UM0462 user interface description 7/14 2 user interface description the flash loader demonstrator is designed as a wizard application. it is structured into five steps, the: welcome page connection settings device information operation choice operation progress step 1 run the flash loader demonstrator from the ?programs? menu (connection to the device has not been made yet) then, make sure that the device is connected to your pc and reset it to restart the system memory bootloader code. the welcome window shown in figure 3 appears. if all is ready click ?next? to continue. figure 3. welcome window
user interface description UM0462 8/14 step 2 the second step consists in selecting the connection settings. select the desired uart settings (port name, baud rate, data bits, parity and stop bits and timeout) as shown in figure 4 . the default configuration is automatically set. ensure that the boot configuration pins are set correctly, then reset the device and click ?next? to continue. if a connection has been established, the wizard moves to the next step, otherwise a message box is displayed that indicates the error that occurred. figure 4. connection settings
UM0462 user interface description 9/14 step 3 in this step the connection has been established and communication has started. the wizard displays the available device information such as the target id or the number of times the read protection is disabled/enabled. select the target name in the target combobox as shown in figure 5 , then click on ?next? to continue. figure 5. device information
user interface description UM0462 10/14 step 4 at this step, select the requested operation ?erase, download or upload? and set the related parameters: erase ? select the ?all? button to erase the whole memory ? select the ?selection? button to cust omize the erase operation. click on the ?selection? button to display the memory mapping dialog window, then check the pages to be erased and click ?ok?. download ? click the related browse button to open a binary, hexadecimal or s19 motorola file. if the loaded file is a binary file, the download address is the start address of the first page and the ?@? field is still editable to accept changes. if the loaded file is a hexadecimal or an s19 motorola file, the download address is the start address of the first record in the file, and the ?@? field is read-only. ? check the ?verify? check box to launch the verification process when the download operation is finished. ? check ?jump to the user program? to launch the downloaded program. ? check the ?optimize download duration? to filter ffs packets (256 bytes). ? check ?enable read protection after download? to activate the flash memory read protection. upload ? click the related browse butt on to select which binary, hexadecimal or s19 motorola file will store the uploaded data. note: erase and download operations can be performed only if the write protection is disabled. consequently, the software will automatically disable the writ e protection befo re launching the operation. for upload operations, the software will automa tically disable the read protection before launching the operation.
UM0462 user interface description 11/14 figure 6. operation choice
user interface description UM0462 12/14 step 5 the last wizard page shows the operation progress: it gives the size of the data to be downloaded or uploaded, the percent completed and the duration of the operation as illustrated in figure 7 . in case of success, the progress bar is green colored. if an error occurs, the bar turns red and the error is displayed. to stop the operation click the ?cancel? button. if the user program is successfully executed and ? the ?jump to the user program? check box was checked in the previous step, the communication with the system memory bo otloader is lost. consequently, the ?back? button is disabled to avoid the launch of another operation. ? if the ?jump to the user program? check box was not checked in the previous step, the ?back? button remains active and it is possible to return to the previous step to select the same or a different operation. figure 7. operation progress
UM0462 revision history 13/14 3 revision history table 1. document revision history date revision changes 25-oct-2007 1 initial release.
UM0462 14/14 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. unless expressly approved in writing by an authorized st representative, st products are not recommended, authorized or warranted for use in milita ry, air craft, space, life saving, or life sustaining applications, nor in products or systems where failure or malfunction may result in personal injury, death, or severe property or environmental damage. st products which are not specified as "automotive grade" may only be used in automotive applications at user?s own risk. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2007 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of UM0462

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X